GetOrAdd Method

Task Parallel System.Threading

Overload List

  NameDescription
GetOrAdd(TKey, Func<(Of <(TKey, TValue>)>))
Adds a key/value pair to the ConcurrentDictionary<(Of <(TKey, TValue>)>) if the key does not already exist.
GetOrAdd(TKey, TValue)
Adds a key/value pair to the ConcurrentDictionary<(Of <(TKey, TValue>)>) if the key does not already exist.

See Also